package com.bzy.blp.upms.service;

import com.bzy.blp.upms.vo.ResourceInfoVO;
import com.bzy.blp.upms.vo.RoleResourceVO;

import java.util.List;

public interface ResourceInfoService {

    /**
     * 获取菜单资源树结构
     * @param user_id
     * @param app_id （暂用不上）
     * @return
     * @throws Exception
     */
    List<ResourceInfoVO> findResourceByUserIdTree(String user_id, String app_id) throws Exception;


    /**
     * 获取角色资源
     * @param roleId
     * @return
     * @throws Exception
     */
    List<RoleResourceVO> findResourceByRoleId(Long roleId) throws Exception;

}
